import request from "@/utils/request";

// 查询资方进件日志列表
export function listBizZifangPush(query) {
  return request({
    url: "/biz/bizZifangPush/list",
    method: "get",
    params: query,
  });
}

// 查询资方进件日志详细
export function getBizZifangPush(id) {
  return request({
    url: "/biz/bizZifangPush/" + id,
    method: "get",
  });
}

// 新增资方进件日志
export function addBizZifangPush(data) {
  return request({
    url: "/biz/bizZifangPush",
    method: "post",
    data: data,
  });
}

// 修改资方进件日志
export function updateBizZifangPush(data) {
  return request({
    url: "/biz/bizZifangPush",
    method: "put",
    data: data,
  });
}

// 删除资方进件日志
export function delBizZifangPush(id) {
  return request({
    url: "/biz/bizZifangPush/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizZifangPush/findMaxSort",
    method: "get",
  });
}
// 导出资方进件日志
export function exportBizZifangPush(query) {
  return request({
    url: "/biz/bizZifangPush/export",
    method: "get",
    params: query,
  });
}
